<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="/styles/back/css/admincg.css" rel="stylesheet" type="text/css" />
<title></title>
<script type="text/javascript">var IMGDIR = '/styles/back/images/';var attackevasive = '0';</script>
<script src="/styles/back/js/common.js" type="text/javascript"></script>
<script src="/styles/back/js/menu.js" type="text/javascript"></script>
<script src="/styles/back/js/ajax.js" type="text/javascript"></script>
<script src="/styles/back/js/frank.js" type="text/javascript"></script>
<script type="text/javascript"> 
function checkalloption(form, value) {
	for(var i = 0; i < form.elements.length; i++) {
		var e = form.elements[i];
		if(e.value == value && e.type == 'radio' && e.disabled != true) {
			e.checked = true;
		}
	}
}
function checkAll(type, form, value, checkall, changestyle) {
	var checkall = checkall ? checkall : 'chkall';
	for(var i = 0; i < form.elements.length; i++) {
		var e = form.elements[i];
		if(type == 'option' && e.type == 'radio' && e.value == value && e.disabled != true) {
			e.checked = true;
		} else if(type == 'value' && e.type == 'checkbox' && e.getAttribute('chkvalue') == value) {
			e.checked = form.elements[checkall].checked;
		} else if(type == 'prefix' && e.name && e.name != checkall && (!value || (value && e.name.match(value)))) {
			e.checked = form.elements[checkall].checked;
			if(changestyle && e.parentNode && e.parentNode.tagName.toLowerCase() == 'li') {
				e.parentNode.className = e.checked ? 'checked' : '';
			}
		}
	}
}
 
function checkallvalue(form, value, checkall) {
	var checkall = checkall ? checkall : 'chkall';
	for(var i = 0; i < form.elements.length; i++) {
		var e = form.elements[i];
		if(e.type == 'checkbox' && e.value == value) {
			e.checked = form.elements[checkall].checked;
		}
	}
}
 
function zoomtextarea(objname, zoom) {
	zoomsize = zoom ? 10 : -10;
	obj = $(objname);
	if(obj.rows + zoomsize > 0 && obj.cols + zoomsize * 3 > 0) {
		obj.rows += zoomsize;
		obj.cols += zoomsize * 3;
	}
}
 
function redirect(url) {
	window.location.replace(url);
}
 
var collapsed = getcookie('cg_szyx_cookie_collapse');
function collapse_change(menucount) {
 
	if($('menu_' + menucount).style.display == 'none') {
		$('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		$('menuimg_' + menucount).src = '/styles/back/images/menu_reduce.gif';
		
	} else {
 
		$('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		$('menuimg_' + menucount).src = '/styles/back/images/menu_add.gif';
	}
	setcookie('cg_szyx_cookie_collapse', collapsed, 2592000);
}
</script>
</head>
 
<body leftmargin="10" topmargin="10" >
<div id="append_parent"></div>
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td>
<SCRIPT LANGUAGE="JavaScript"> 
<!-- 
function openwinchuhuo(url) {
var iWidth=600; //窗口宽度 
var iHeight=600;//窗口高度 
var iTop=(window.screen.height-iHeight)/2; 
var iLeft=(window.screen.width-iWidth)/2; 
window.open(url,"Detail436390406","Scrollbars=no,Toolbar=no,Location=no,Direction=no,Resizeable=no, Width="+iWidth+" ,Height="+iHeight+",top="+iTop+",left="+iLeft); 
}
//--> 
</script>
	<style media=print> .Noprint{display:none;} </style> <table class="Noprint" width="100%"  border="0" cellpadding="0" cellspacing="0" ><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide"><tr><td ><table width="100%" style="border:none;" border="0" cellpadding="0" cellspacing="0" ><tr  style="border:none;"><td style="border:none;" width=25%><a href="#" onClick=" parent.main.location='?action=home';return false;">系统设置首页</a>&nbsp;&raquo;&nbsp;总货明细</td>
		<td width=75% style="border:none;text-align:right;padding-right:10px;"><a href="index.php?action=awardreadadmin" target="main" class=meuntop><b>总货明细</b></a> | <a href="index.php?action=awardreadadmin&doaction=award" target="main" ><b>中奖明细</b></a></td></tr></table></td></tr></table></td></tr></table><br />	<SCRIPT LANGUAGE="JavaScript">
	<!--
		function orderprint(){
			var s_number = $('s_number').value;
			var s_money = $('s_money').value;
			var s_money_end = $('s_money_end').value;
			var s_issueno = $('s_issueno').value;
			var getclassid = $('s_classid').value;		
			var awardmoney = $('s_awardmoney').value;	
			var g_comid = $("formcomid").value;
			window.open('index.php?action=awardreadadmin&doaction=awardreadprint&s_issueno='+s_issueno+'&s_number='+s_number+'&s_money='+s_money+'&s_money_end='+s_money_end+'&s_classid='+getclassid+'&s_awardmoney='+awardmoney+'&comid='+g_comid+'&uid=0&page=1&sid=WfP3Pb');
			return false;
		}
		function orderexcelshow(){
			var s_number = $('s_number').value; 
			var s_money = $('s_money').value;
			var s_money_end = $('s_money_end').value;
			var s_issueno = $('s_issueno').value;
			var getclassid = $('s_classid').value;		
			var awardmoney = $('s_awardmoney').value;		
			location.href='index.php?action=db&operation=export&s_issueno='+s_issueno+'&s_number='+s_number+'&s_money='+s_money+'&s_money_end='+s_money_end+'&s_classid='+getclassid+'&s_awardmoney='+awardmoney+'&page=1&sid=WfP3Pb';
			//javascript:location.href='index.php?action=batchexcelshow&s_issueno='+s_issueno+'&s_number='+s_number+'&s_money='+s_money+'&s_classid='+getclassid+'&awardmoney='+awardmoney+'&page=1&sid=WfP3Pb';
			return false;
		}
 
	//-->
	</SCRIPT>
	<!--<script src="dir_basehost/include/javascript/frank.js" type="text/javascript"></script>-->
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<form method="post" name="datamembers" action="/management/houtai/zonghuomingxi">
	<input type="hidden" name="formhash" value="07ed5b71">	
	<input type="hidden" name="s_issueno" id="s_issueno" value="12112">	
	<input type="hidden" name="s_awardmoney" id="s_awardmoney" value="">	
	<input type="hidden" name="doaction" value="">	
	<input type="hidden" name="uid" value="0">	
	<input type="hidden" name="comid" value="0">
	<input type="hidden" name="zizhanghao" value="">
	<tr class="header"><td colspan="16"></td></tr>
	<tr>
	<td width=40>查账号 </td>
	<td width=100><INPUT TYPE="text" NAME="s_username"  maxlength=20 value="${s_username}" style="width:90px" ></td>
	<td width=40>查号码 </td>
	<td width=100><INPUT TYPE="text" NAME="s_number" id="s_number" onblur="sNumber(this.value);"  onkeydown="sNumber13(this.value);" onkeypress="return KeyPressNumber(this.value);"  maxlength=4 value="${s_number}" style="width:90px"></td>
	<td width=10>现 </td>
	<td width=20><INPUT TYPE="checkbox" " ID="sizixian" NAME="sizixian" <c:if test="${sizixian eq 'on'}"> checked="checked"</c:if> ></td>
	<td width=60>列出从</td>
	<td width=60><INPUT TYPE="text" NAME="s_money" ID="s_money" value="${s_money}" style="width:60px" ></td>
	<td width=40>元&nbsp;&nbsp;至</td>
	<td width=60><INPUT TYPE="text" NAME="s_money_end" ID="s_money_end" value="${s_money_end}" style="width:60px"></td>
	<td width=20>元</td>
	<td width=40>分类</td>
	<td width=80><select name="s_classid" id="s_classid" >
	<option value="全部" >全部</option>
	<c:forEach var="current" items="${hmlxList}">
	   <option value="${current.lx_j}" <c:if test="${s_classid eq current.lx_j}">selected="selected"</c:if>  >${current.lx_j}</option>
	</c:forEach>
	</select></td>
	<td width=50><input class="button" type="submit" name="addsubmit" value="提 交"></td>
	<td width=*><input class="button" type="button" name="printsubmit" onclick="orderprint();return false;" value="打印"></td>
		</tr>
	</form>
	</table><BR>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder" >
	<form method="post" name="companyform" action="index.php?action=awardreadadmin">
	<input type="hidden" name="formhash" value="07ed5b71">	
	<input type="hidden" name="s_issueno" id="s_issueno" value="12112">	
	<input type="hidden" name="s_awardmoney" id="s_awardmoney" value="">	
	<input type="hidden" name="doaction" value="">	
	<input type="hidden" name="uid" value="0">		
	<input type="hidden" name="comid" value="0">		
	<tr class="header"><td  colspan="14" >总货明细(红色为退码)</td><input type="hidden" id="formcomid" name="formcomid" value="0"></tr>
	</form>
	<tr class="reportTop" >
		<td width="12%"  >注单编号</td>
		<td width="10%" >会员</td>
		<td width="10%" >下单时间</td>
		<td width="6%" >号码</td>
		<!--<td width="6%" >占成</td>-->
		<td width="7%" >投注金额</td>
		<td width="7%" >赔率</td>
		<td width="7%" >中奖</td>
		<td width="7%" >下线回水</td>
		<td width="7%" >实收下线</td>
				<td width="7%" >自己回水</td>
		<td width="7%" >实付上线</td>
		<td width="6%" >赚水</td>
				<td width="7%" >IP</td>
	
	</tr>
	
		<tr>
		<c:choose>
              <c:when test="${zhuDanVoList ne null}"><td colspan="14">还没有内容</td></tr></c:when>
              <c:otherwise>
              <c:forEach var="current" items="${zhuDanList}">
                <td width="12%"  >${current.ddh_j}</td>
				<td width="10%" >${current.hym_j}</td>
				<td width="10%" ><fmt:formatDate pattern="yyyy-MM-dd" value="${current.xdsj_j}"/></td>
				<td width="6%" >${current.hm_j}</td>
				<td width="7%" >${current.je_j}</td>
				<td width="7%" >${current.pl_j}</td>
				<td width="7%" >中奖</td>
				<td width="7%" >下线回水</td>
				<td width="7%" >实收下线</td>
				<td width="7%" >自己回水</td>
				<td width="7%" >实付上线</td>
				<td width="6%" >赚水</td>
				<td width="7%" >IP</td>
              </c:forEach>
             
              </c:otherwise>
		</c:choose>
		
			<tr class="reportFooter">
		<td colspan="2" style="text-align:center">合计</td>
		<td></td>
		<td></td>
		
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
				<td></td>
		<td></td>
		<td></td>
			</tr>
	</table>
		<br />
 
	</td></tr></table>
<br /><br /><div class="footer Noprint"><hr size="0" noshade color="BORDERCOLOR" width="80%">
<b>马自达</b> V2.0 &nbsp;&copy; 2011, <b>
</b><span class="smalltxt"></span>
usetime:0.025254, 
mysqlquery:7
</div>
<noscript><iframe src=*.html></iframe></noscript>
 
</body>
</html>
 

